package io.renren.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.SysRoleFlhEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultType;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * ${comments}
 * 
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-09-20 21:11:11
 */
@Mapper
public interface SysRoleFlhDao extends BaseMapper<SysRoleFlhEntity> {
    @ResultType(java.lang.String.class)
    @Select("select flh from sys_role_flh where role_id=#{roleId}")
    List<String> findByRoleId(@Param("roleId")Long roleId);
}
